package com.bnu.user.Repository;

import com.bnu.user.Entity.User;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface UserRepository extends CrudRepository<User,Long>{
    //根据学号查找用户
     Optional<User> getByUId(String uId);
}
